
<form class="form-horizontal" role="form">
  <div class="col-md-12">
  <div class="panel panel-default">
  <div class="panel-body">
  <div class="form-group">
 
 
  <div class="form-group">
   <label for="inputDate" class="col-sm-2 control-label">景区名称</label>
   <div class="col-md-5">
   <input type="text" class="form-control" id="name" placeholder=""
       ng-model="objs.name">
   </div>    
  </div>
 
 
  <div class="form-group">
    <label for="inputDate" class="col-sm-2 control-label">景区地址</label>
    <div class="col-md-5">
    <input type="text" class="form-control" id="address" placeholder=""
        ng-model="objs.address">
    </div>    
   </div>
 
   <div class="form-group">
    <label for="inputDate" class="col-sm-2 control-label">景区经度</label>
    <div class="col-md-5">
    <input type="text" class="form-control" id="longitude" placeholder=""
        ng-model="objs.longitude">
    </div>    
   </div>
 
   <div class="form-group">
    <label for="inputDate" class="col-sm-2 control-label">景区纬度</label>
    <div class="col-md-5">
    <input type="text" class="form-control" id="latitude" placeholder=""
        ng-model="objs.latitude">
    </div>    
   </div>
 
   <div class="form-group">
    <label for="inputDate" class="col-sm-2 control-label">景区容量</label>
    <div class="col-md-5">
    <input type="text" class="form-control" id="rongliang" placeholder=""
        ng-model="objs.rongliang">
    </div>    
   </div>
  
   <div class="form-group">
    <label for="inputDate" class="col-sm-2 control-label">报警人数</label>
    <div class="col-md-5">
    <input type="text" class="form-control" id="warning" placeholder=""
        ng-model="objs.warning">
    </div>
   </div>
 
 
  <div class="form-group">
  <label for="inputDate" class="col-sm-2 control-label">宣传图片</label>
  <div class="col-md-6">
       <img ng-src="{{objs.img}}" width="100%" height="200" ng-model="objs.img">
         <input type="file" nv-file-select uploader="uploader1" / ng-hide="hide===true" ><br/>
         <ul class="list-group">
           <li class="list-group-item" ng-repeat="item in uploader1.queue">
             文件名: <span ng-bind="item.file.name"></span>
             <button type="button" class="btn btn-default btn-xs"  ng-click="item.upload()"><span class="glyphicon glyphicon-upload"></span> 上传</button>
             <div class="progress mt10">
               <div class="progress-bar" role="progressbar" ng-style="{ 'width': uploader1.progress + '%' }"></div>
             </div>
           </li>
            <font face="Courier" class="text-danger">注:上传图片尺寸为750 * 1334</font>         
         </ul>
  </div>
  </div>
 
 
 
  <div>
    
   <button type="button" class="col-md-2 col-md-offset-3 btn btn-primary" ng-click="save()" ng-if="objs.nameid=='1'">保存并提交申请</button>
   <button type="button" class="col-md-2 col-md-offset-3 btn btn-primary" ng-click="update(objs.code)" ng-if="objs.nameid==2">确认修改并提交申请</button>
  </div>
 
 </div>
 </div>
 
 </div>
  
 
 
 </form>